#ContentGrouping{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-block: 50px;
}

#CalculaionsContainer{
    flex: 1;
    background-color: var(--Border);
    padding: 0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    justify-content: flex-start;
}
.claculatorcontainer{
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.whichCalculator{
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: var(--Text-Primary);
    font-weight: 600;
}
.calculationInstructions{
    width: 100%;
    font-size: 0.9rem;
    color: var(--Text-Secondary);
    font-weight: 400;
}
#ScientificCalculator{
    z-index: 1;
    position: sticky;
    top: 36px;
    width: 100%;
    background-color: var(--Background);
    border: 1px solid var(--Text-Primary);
    -webkit-box-shadow: 0px 0px 20px #00000044;
    min-height: 300px;
    border-radius: 16px;
    /* --------------------------------------Remove later*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Text-Primary);
}
.CalculationsExplained{
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.Explainedtitle{
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: var(--Text-Primary);
    font-weight: 600;
}
.Explainer{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}
.Loadinggif{
    height: 100px;
    display: none;
}
.warning{
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
    color: var(--Text-Primary);
    background-color: var(--Alert);
    padding: 16px;
    border-radius: 16px;
}

#AdvertisementsColumn{
    flex: 0.8;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 36px;
    border: 1px solid var(--Border);
    background-color: var(--Surface);
    border-radius: 16px;
}


/* --------------------------------------AD box*/

#GoogleSquare{
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--primary);
    position: sticky;
    top: 36px;
    border-radius: 16px;
    color: var(--Background);
    display: flex;
    align-items: center;
    justify-content: center;
}
.MoreCalculators{
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--Background);
    border: 1px solid var(--Border);
    border-radius: 16px;
    position: sticky;
    top: 372px;
    overflow: hidden;
}
.SimlarTitle{
    border-radius: 16px;
    padding: 16px;
    background-color: var(--Text-Primary);
    color: var(--Border);
    font-size: 1rem;
    font-weight: 400;
}
.similarcalclist{
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.gotosimilarcalc{
    color: var(--accent);
    font-size: 0.9rem;
    line-height: 0.9rem;
    font-weight: 400;
    text-decoration: underline;
}




.horizontalAdTop{
    width: 100%;
    display: flex;
    justify-content: center;
    padding-block: 50px 0;
}
.horizontalAdBottom{
    width: 100%;
    display: flex;
    justify-content: center;
    padding-block: 0 50px;
}
#GoogleHorizontal{
    width: 100%;
    max-width: 728px;
    aspect-ratio: 8.09/1;
    background-color: var(--primary);
    border-radius: 16px;
    color: var(--Background);
    display: flex;
    align-items: center;
    justify-content: center;
}

#CalcBlog{
    flex: 1.2;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

@media (max-width: 728px) {
    #GoogleHorizontal{
        width: calc(100% + 20px);
        margin: 0 -10px;
        border-radius: 0px;
        aspect-ratio: 6.4/1;
    }
}
@media (max-width: 1100px) {
    #ContentGrouping{
        display: grid;
        grid-template-columns: 1fr 1.2fr;
    }
    #AdvertisementsColumn{
        align-self: auto;
        padding: 0 0 0 32px;
        background-color: transparent;
        border: none;
    }
    #GoogleSquare{
        display: none;
    }
    #CalcBlog{
        padding: 0 0 0 32px;
    }
    #CalculaionsContainer{
        grid-row: span 2;
    }
}
@media (max-width: 800px) {
    #ContentGrouping{
        display: flex;
        flex-direction: column;
        gap: 36px;
        align-items: stretch;
    }
    #AdvertisementsColumn{
        padding: 0;
    }
    #CalcBlog{
        padding: 0;
    }
}

.CenterAd{
    display: flex;
    align-items: center;
    justify-content: center;
}
#AdinCenter{
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1/1;
    background-color: var(--primary);
    position: sticky;
    top: 36px;
    border-radius: 16px;
    color: var(--Background);
    display: flex;
    align-items: center;
    justify-content: center;
}


.BlogTitle{
    font-size: 1.8rem;
    line-height: 1.8rem;
    color: var(--Text-Primary);
    font-weight: 600;
    border-block-end: 1px solid var(--Border);
    padding-bottom: 16px;
    margin-bottom: 32px;
}
.authorcontainer{
    display: flex;
    gap: 16px;
    height: 50px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}
.profilepicture{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.authorprofile{
    height: 100%;
    pointer-events: none;
}
.Aboutauthor{
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}
.authorTag{
    font-size: 0.7rem;
    line-height: 0.7rem;
    color: var(--Text-Secondary);
    font-weight: 600;
}
.authorName{
    display: flex;
    font-size: 0.9rem;
    line-height: 0.9rem;
    color: var(--Text-Secondary);
    font-weight: 300;
}
.writerName{
    color: var(--accent);
}
.writerName:hover{
    text-decoration: underline;
}

.ReviewSection{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 32px;
    border-block-end: 1px solid var(--Border);
    margin-bottom: 50px;
}
.PeopleHelped{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}
.PeopleHelped p{
    font-size: 0.9rem;
    line-height: 0.9rem;
    color: var(--Text-Secondary);
    font-weight: 300;
}
.likedisplayicon{
    fill: var(--Text-Primary);
}
#HelpedNumber{
    color: var(--Text-Primary);
    font-weight: 600;
}
.ReviewCTA{
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
}
.LikeButtons{
    display: flex;
    align-items: stretch;
    gap: 1px;
    background-color: var(--Border);
    border-radius: 6px;
    border: 1px solid var(--Border);
    height: 40px;
    width: 80px;
}
#LikeBTN, #DislikeBTN{
    cursor: pointer;
    flex: 1;
    background-color: var(--Background);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}
#LikeBTN:hover, #DislikeBTN:hover{
    background-color: var(--Surface);
}
.actionicons{
    fill: var(--Text-Secondary);
}
.Opinion{
    fill: var(--primary);
}
.ShareButton{
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background-color: var(--Background);
    border-radius: 6px;
    border: 1px solid var(--Border);
    position: relative;
}
.actionInstructions{
    opacity: 0;
    position: absolute;
    top: 47px;
    left: 0px;
    pointer-events: none;
}
.instructioncard{
    position: relative;
    background-color: var(--Text-Primary);
    padding: 5px 10px;
    border-radius: 6px;
}
.invertedtriangle{
    position: absolute;
    color: var(--Text-Primary);
    font-size: 15px;
    top: -12px;
    left: 10px;
}
.sharetext{
    color: var(--Background);
    font-size: 0.6rem;
    line-height: 0.6rem;
    font-weight: 600;
    white-space: nowrap;
}
.ShareButton:hover{
    background-color: var(--Surface);
}
.ShareButton:hover .actionInstructions{
    opacity: 1;
}


.Contents{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 50px;
}
.contentsTitles{
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: var(--Text-Primary);
    font-weight: 600;
}
.blogsections{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sectionName::before{
    content: "•"; 
    color: var(--Border);
    padding-right: 16px;  
}
.gotosectionCTA{
    color: var(--accent);
    font-size: 0.9rem;
    line-height: 0.9rem;
    font-weight: 400;
    text-decoration: underline;
}

.AboutCalculator{
    color: var(--Text-Primary);
    font-size: 0.9rem;
    line-height: 1.4rem;
    font-weight: 400;
}
.blogContentSection{
    padding-block: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sectionTitleofblog{
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: var(--Text-Primary);
    font-weight: 600;
}
.sectioncontents{
    color: var(--Text-Primary);
    font-size: 0.9rem;
    line-height: 1.4rem;
    font-weight: 400;
    width: 100%;
}


.FAQs{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}
.QueAns{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.question, .answer{
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.question p{
    font-size: 0.9rem;
    line-height: 1.4rem;
    font-weight: 600;
    color: var(--Text-Primary);
}
.actualAns{
    font-size: 0.9rem;
    line-height: 1.4rem;
    font-weight: 400;
    color: var(--Text-Secondary);
}
.ansSymbol{
    font-size: 0.9rem;
    line-height: 1.4rem;
    font-weight: 600;
    color: var(--Text-Secondary);
}
.redirectlink{
    color: var(--accent);
    text-decoration: underline;
}